﻿using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YiMeiJiaLibModel.Business;
using YiMeiJiaLibModel.Business.Dto;
using YiMeiJiaLibModel.Enums;
using YiMeiJiaService.Assembly;
using YiMeiJiaService.IService;

namespace YiMeiJiaApp.Pages.Components
{
    public partial class HeadersSearch
    {
        [Inject] protected NavigationManager Navigation { get; set; }
        [Inject] protected IJSRuntime JSRuntime { get; set; }



        [Parameter]
        public string MyPartialText { get; set; }
        protected override async Task OnInitializedAsync()
        {

            try
            {
                //获取传递进来的ID 参数
                var x = Common.GetParams(new Uri(Navigation.Uri).Query, "title");
              
            }
            catch (Exception ex)
            {
                throw;
            }
            await base.OnInitializedAsync();
        }
    }
}
